package com.tsd.core.openweixin.model.custommsg;

import java.io.Serializable;

/**
 * 文本客服消息
 *
 * @author Administrator
 */
public class CustomMsgImage extends CustomMsg implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 2333750494305573542L;
    Image image;

    public CustomMsgImage(String mid) {
        this.setMsgtype(TypeImage);
        image = new Image();
        image.setMedia_id(mid);
    }

    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public class Image {
        String media_id;

        public String getMedia_id() {
            return media_id;
        }

        public void setMedia_id(String media_id) {
            this.media_id = media_id;
        }
    }
}
